<!DOCTYPE html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
        <title>老侯代读</title>
        <meta name="description" content="" />
        <meta name="keywords" content="" />
        <!-- <link rel="stylesheet" href="/css/style.css"> -->
        <link rel="stylesheet" href="http://wx.laohoulundao.com/ckeditor/contents.css">
        <style type="text/css">
            body{ font-size:16px; }
            img{ max-width:100%; height:auto; }
        </style>

        <script src="https://cdn.bootcss.com/jquery/3.0.0/jquery.min.js"></script>
    <script>

        setTimeout(function(){
            $('img').click(function(){

                var host = location.origin;
                var url  = host + $(this).attr('src');
                var index = 0;
                var i = 0;
                var imgs = new Array();
                $('img').each(function(){

                    var url1 = $(this).attr('src');
                    var url1 = host + url1;
                    imgs.push(url1);
                    if(url1 == url){
                        index = i;
                    }
                    i++;
                });

                var data = {imgs:imgs};
                    data = JSON.stringify(data);

                if("undefined" != typeof android)
                {
                    android.setImageUrl(data,index);
                }
                else if(window.webkit.messageHandlers.iOS)
                {
                    window.webkit.messageHandlers.iOS.postMessage({imgs:imgs,index:index});
                }


            });
        },100);

    </script>
    </head>
    <body>
        <div class="container">
            <div class="news-title">
                <h3 class="news-title-con">{{$sharedetail->MinSgaTitle}}</h3>
                <p class="news-pub-time">{{$sharedetail->ReleaseDate}}</p>
            </div>

            <div class="news-con">
                @if($sharedetail->FilePath1!='')
                    <img src="{{$sharedetail->FilePath1}}">
                @endif
                <?php echo  html_entity_decode($sharedetail->ShareContents)?>
            </div>
        </div>
    </body>
</html>